import type { TableColumn } from '@/components/core/dynamic-table';

export type TableListItem = API.RoleListResultItem;
export type TableColumnItem = TableColumn<TableListItem>;

export const baseColumns: TableColumnItem[] = [
  {
    title: '角色编号',
    dataIndex: 'roleId',
    align: 'center',
    hideInSearch: true,
  },
  {
    title: '角色名称',
    dataIndex: 'roleName',
    align: 'center',
  },
  {
    title: '备注说明',
    dataIndex: 'remark',
    align: 'center',
  }
];
